package com.xxgc.eow.service;

import com.xxgc.eow.entity.Treatment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 企业待遇表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-22
 */
public interface ITreatmentService extends IService<Treatment> {

    List<Treatment> getAllTreatment();

    int addTreatment(Treatment treatment);

    int delTreatment(Treatment treatment);

    int updatTreatment(Treatment treatment,int oldTreatmentId);

    List<Treatment> getAllByCompanyId(int companyId);
}
